﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HNQXYJ.Model;
using HNQXYJ.BLL;

namespace HNQXYJ.HN_User
{
    public partial class UserShowDetails : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string username = Session["username"].ToString();
                Users user = new UsersBLL().GetUserByUserName(username);
                this.txtUserName.Text = user.UserName;
                this.txtTrueName.Text = user.TrueName;
                this.txtRankName.Text = user.RankName;
                this.txtTouchMehtod.Text = user.TouchMethod;
                this.txtNotes.Text = user.Notes;
            }
        }
    }
}